<div class="inc wb">
	<div class="inc_top">{$page_title}</div>
	<div class="inc_main">
		<div class="gtab_body lh24 pt10 pl15 pr15">
			<div class="bbd pl30 pt15 pb15 f14">
            	<strong>餐厅信息</strong>
                <h4 class="mt10"><a href="{if $order.deal_type eq 1}{url x="store" r="kview" p="id=$order.store.id"}{else}{url x="store" r="view" p="id=$order.store.id"}{/if}" target="_blank">{$order.store.name}</a></h4>
                <p></p>
                <p>人均<?php echo $GLOBALS['lang']['AVG_PRICE_'.$this->_var['order']['store']['avg_price']]; ?></p>
                <p>{$order.store.address}</p>
            </div>
            <div class="bbd pl30 pt15 pb15">
            	<strong>订单状态</strong>
                <p>
                	{if $order.status eq 0}
					订单处理中
					{elseif $order.status eq 1}
					<span class="cg">等待{if $order.deal_type eq 1}K歌{else}就餐{/if}</span>
					{elseif $order.status eq 2}
					<span style="color:red">{if $order.deal_type eq 1}K歌{else}就餐{/if}到达</span>	
					{elseif $order.status eq 3}
					退订成功
					{elseif $order.status eq 4}
					订单失败
					{/if}
                </p>
                <p>
                
                </p>
            </div>
            <div class="bbd pl30 pt15 pb15">
            	<strong>预订者信息</strong>
                <div class="clearfix">
                	<div class="f_l">姓名：</div>
                    <div class="cell">{$order.order_name}</div>
                </div>
                <div class="clearfix">
                	<div class="f_l">手机：</div>
                    <div class="cell">{$order.order_tel}</div>
                </div>
                <div class="clearfix">
                	<div class="f_l">性别：</div>
                    <div class="cell">{if $order.order_sex eq 1}先生{else}女士{/if}</div>
                </div>
            </div>
            
            <div class="bbd pl30 pt15 pb15">
            	<strong>订单详情</strong>
                <div class="clearfix">
                	<div class="f_l">{if $order.deal_type eq 1}K歌{else}就餐{/if}时间：</div>
                    <div class="cell"> {function name="to_date" v="$order.order_time" f="Y-m-d"} {function name="to_date" v="$order.order_time" f="H:i"}</div>
                </div>
                <div class="clearfix">
                	<div class="f_l">{if $order.deal_type eq 1}K歌{else}就餐{/if}人数：</div>
                    <div class="cell">{$order.order_nums}人</div>
                </div>
                <div class="clearfix">
                	<div class="f_l">包房需求：</div>
                    <div class="cell">
                    	{if $order.deal_type eq 1}
							{if $order.seat_status eq 0}
							小包厢
							{elseif $order.seat_status eq 1}
							中包厢
							{elseif $order.seat_status eq 2}
							大包厢
							{elseif $order.seat_status eq 3}
							VIP包厢
							{/if}
						{else}
                    	{if $order.seat_status eq 0}只订大厅{else}包厢{if $order.seat_switch eq 0}(订不到包房就订大厅){/if}{/if}
						{if $order.extra_serve eq 1}
						<span class="ml10">吸烟区</span>
						{elseif $order.extra_serve eq 2}
						<span class="ml10">无烟区</span>
						{/if}
						<span class="ml10">
                        	接受最低消费：
							{if $order.min_expense eq 500}
							500元以内
							{elseif $order.min_expense eq 1000}
							501元-1000元
							{elseif $order.min_expense eq 2000}
							1001元-2000元
							{elseif $order.min_expense eq 5000}
							2001元-5000元
							{else}
							无
							{/if}
						</span>
						{/if}
                    </div>
                </div>
				{if $order.order_tip}
				<div class="clearfix">
                	<div class="f_l">{if $order.deal_type eq 1}包厢{else}餐位{/if}情况：</div>
                    <div class="cell">
                    	{$order.order_tip}
                    </div>
                </div>
				{/if}
                <div class="clearfix">
                	<div class="f_l">{if $order.deal_type eq 1}K歌{else}就餐{/if}金额：</div>
                    <div class="cell">{if $order.order_money}{$order.order_money}{else}0{/if}
                    </div>
                </div>
            </div>
            <div class="bbd pl30 pt15 pb15">
            	<strong>备注信息</strong>
                <p>
                  {$order.order_msg}  
                </p>
                <p></p>
            </div>
            <div class="bbd pl30 pt15 pb15">
            	<strong>请柬信息</strong>
                <div class="clearfix">
                	<div class="f_l w100">收信人：</div>
                    <div class="cell f_l" style="width:640px"><p class="cell_bk">{if $order.order_sms_tel}{$order.order_sms_tel}{else}无收信人{/if}</p></div>
                </div>
                <div class="clearfix">
                	<div class="f_l w100">短信请柬：</div>
                    <div class="cell f_l" style="width:640px">{$order.order_sms_message}</div>
                </div>
                <div class="clearfix">
                	<div class="f_l w100">收信人：</div>
                    <div class="cell f_l" style="width:640px"><p class="cell_bk">{if $order.order_email_address}{$order.order_email_address}{else}无收邮件人{/if}</p></div>
                </div>
                
                
                <div class="clearfix">
                	<div class="f_l w100">Email请柬：</div>
                    <div class="cell f_l" style="width:640px">{$order.order_email_message}</div>
                </div>
            </div>
            <div class="clearfix lh20 pl30 pt15 pb15">
            	<div class="f_l">
                	{if $order.order_time gt get_gmtime()}
					{if $order.status neq 2}
					<a href="{url x="store" r="order#modify" p="id=$order.id"}" class="uc_gray_btn mr10" target="_blank"><span class="icons i003 mr5"></span>修改订单</a>                
					{/if}
					{if $order.status eq 0}
					<a href="{url x="store" r="order#view" p="order_id=$order.id&is_inv=1"}" class="uc_gray_btn mr10"><span class="icons i002 mr5"></span>修改请柬</a>   
					{/if}
					{/if}
					
					{if $order.status neq 2 && $order.status neq 3 && $order.status neq 4}
                     <a href="{url x="store" r="order#del" p="id=$order.id"}" id="bookOrderCancel" class="uc_gray_btn mr10" target="_blank"><span class="icons i004 mr5"></span>撤销订单</a>
					{/if}
                    
                </div>
                <span class="grebtn grebtn_s lh22">
                    <i class="green_line"></i>
                    <strong class="grebtn_in"><a href="{if $order.deal_type eq 1}{url x="index" r="uc_order#ktv"}{else}{url x="index" r="uc_order#ct"}{/if}" class="grebtn_bg">返回我的订单</a></strong>
                    <i class="green_line"></i>
                </span>
            </div>
        </div>
	</div>
	<div class="inc_foot"></div>
</div>
